package com.hzy.orderSystem.dao;

import com.hzy.orderSystem.entities.Support;
import com.hzy.orderSystem.entities.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 小宝
 * @create 2021/4/16 17:10
 */
@Mapper
public interface SupportDao {

    /**
     * 通过账号密码获取用户
     * @param username  用户名
     * @param password  密码
     * @return
     */
    public Support getUserByUsernameAndPassword(@Param("username") String username,
                                                @Param("password") String password);

    public int updateSupport(Support support);
}
